package o;

import com.huawei.hms.support.api.entity.pay.HwPayConstant;
import com.huawei.hms.support.api.entity.pay.PayStatusCodes;
import org.json.JSONException;
import org.json.JSONObject;

public class fcr {
    private static final String ˊ = new StringBuffer().append("{\"").append("returnCode").append("\":\"").append(PayStatusCodes.PAY_STATE_ERROR).append("\"}").toString();
    private String ʻ;
    private String ʼ;
    private String ʽ;
    private String ˋ;
    private String ˎ;
    private String ˏ = "no";
    private String ॱ;
    private String ॱॱ;
    private String ᐝ;

    public fcr(String str, String str2, String str3, String str4) {
        this.ᐝ = str;
        this.ʼ = str2;
        this.ʻ = str3;
        this.ॱॱ = str4;
    }

    public String ˎ() {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("returnCode", this.ॱ);
            jSONObject.put(HwPayConstant.KEY_USER_NAME, this.ᐝ == null ? "" : this.ᐝ);
            jSONObject.put("orderID", this.ˎ == null ? "" : this.ˎ);
            jSONObject.put(HwPayConstant.KEY_REQUESTID, this.ʼ);
            jSONObject.put(HwPayConstant.KEY_AMOUNT, this.ʻ);
            jSONObject.put("errMsg", this.ˋ == null ? "" : this.ˋ);
            jSONObject.put("time", this.ॱॱ == null ? "" : this.ॱॱ);
            jSONObject.put(HwPayConstant.KEY_SIGN, this.ʽ == null ? "" : this.ʽ);
            jSONObject.put("isCheckReturnCode", this.ˏ);
            return jSONObject.toString();
        } catch (JSONException e) {
            return ˊ;
        }
    }

    public void ॱ(String str) {
        this.ˏ = str;
    }

    public void ˋ(String str) {
        this.ॱ = str;
    }

    public void ˊ(String str) {
        this.ˎ = str;
    }

    public void ˎ(String str) {
        this.ˋ = str;
    }

    public void ˏ(String str) {
        this.ॱॱ = str;
    }

    public void ᐝ(String str) {
        this.ʽ = str;
    }
}
